-
Home
-
CommonsBooking
-
2.10.3 (latest)
-
Code
-
Classes
- Day
Total Complexity |
72 |
Dependencies |
11 |
Dependents |
8 |
Total lines |
587 |
Lines of code |
282 |
Logical lines of code |
157 |
Comment lines |
216 |
Methods |
25 |
Properties |
5 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isInTimeframe() |
A |
43 |
14 |
48 |
sanitizeSlots() |
S |
53 |
7 |
22 |
mapTimeFrames() |
S |
56 |
5 |
17 |
getEndSlot() |
S |
58 |
5 |
15 |
mapRestrictions() |
S |
57 |
5 |
15 |
__construct() |
S |
54 |
4 |
20 |
getStartSlot() |
S |
57 |
4 |
17 |
getTimeframeSlots() |
S |
50 |
3 |
28 |
removeEmptySlots() |
S |
67 |
4 |
7 |
getTimeframes() |
S |
58 |
2 |
16 |
filterTimeframe() |
S |
66 |
3 |
9 |
getRestrictionStartSlot() |
S |
64 |
2 |
10 |
getRestrictionEndSlot() |
S |
64 |
2 |
9 |
getDayOfWeek() |
S |
79 |
1 |
3 |
getName() |
S |
79 |
1 |
3 |
getRestrictions() |
S |
64 |
1 |
10 |
getFormattedDate() |
S |
79 |
1 |
3 |
getDate() |
S |
82 |
1 |
3 |
getStartTimestamp() |
S |
73 |
1 |
5 |
getEndTimestamp() |
S |
73 |
1 |
5 |
getDateObject() |
S |
80 |
1 |
3 |
getSlotByTime() |
S |
72 |
1 |
5 |
getGrid() |
S |
81 |
1 |
3 |
getSlotTimestampStart() |
S |
77 |
1 |
3 |
getSlotTimestampEnd() |
S |
76 |
1 |
3 |